package com.ten.mall.service;

import java.util.List;
import java.util.Map;

import com.ten.mall.vo.MyMessage;

public interface MessageService {
	int insertMessage(MyMessage message);
	Map<String,Object> selectMessage(Integer start,Integer size,String name);
	int updateMessage(MyMessage message);
	int deleteMessage(Integer id);
	MyMessage selectById(Integer id);
	List<MyMessage> selectByState();
}
